package com.collect.zambia.zhiBean.zhiReceive;

import com.collect.zambia.zhiUtils.StringUtil;

import java.io.Serializable;
import java.util.ArrayList;

public class ZHIRGroupPerformanceMoneyEntityV2 implements Serializable {
    private String basicValue;
    private String showFlag;

    private ArrayList<ZHIRGroupPerformanceMoneyEntity> list;

    public String getBasicValue() {
        return StringUtil.safeString(basicValue);
    }

    public void setBasicValue(String basicValue) {
        this.basicValue = basicValue;
    }

    public String getShowFlag() {
        return StringUtil.safeString(showFlag);
    }

    public Boolean isShowFlag() {
        return getShowFlag().equalsIgnoreCase("YES");
    }

    public void setShowFlag(String showFlag) {
        this.showFlag = showFlag;
    }

    public ArrayList<ZHIRGroupPerformanceMoneyEntity> getList() {
        if(list==null){
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(ArrayList<ZHIRGroupPerformanceMoneyEntity> list) {
        this.list = list;
    }
}
